package me.zhengjie.modules.finace_taxation.service.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import me.zhengjie.base.CommonMapper;
import me.zhengjie.modules.finace_taxation.domain.FtLiveBroadcast;
import me.zhengjie.modules.finace_taxation.service.dto.FtLiveBroadcastDto;
import me.zhengjie.modules.finace_taxation.service.dto.FtLiveBroadcastQueryParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
* @author 杨荣森
* @date 2021-06-23
*/
@Repository
public interface FtLiveBroadcastMapper extends CommonMapper<FtLiveBroadcast> {

    IPage<FtLiveBroadcastDto> getLiveBroadcast(Map<String, Object> map, IPage<FtLiveBroadcastDto> queryPage);

    List<FtLiveBroadcastDto> getLiveBroadcastDownLoad(FtLiveBroadcastQueryParam ftLiveBroadcastQueryParam);

    /*批量添加*/
    int insertFtLiveBroadcasts(@Param("ftLiveBroadcasts") List<FtLiveBroadcast> ftLiveBroadcasts);
}
